$OpenBSD: patch-provider_client_WSTransport_cpp,v 1.9 2015/04/05 22:25:08 robert Exp $
--- provider/client/WSTransport.cpp.orig	Sun Apr  5 14:58:01 2015
+++ provider/client/WSTransport.cpp	Sun Apr  5 14:58:18 2015
@@ -96,6 +96,10 @@ using namespace std;
 static char THIS_FILE[] = __FILE__;
 #endif
 
+#ifdef __OpenBSD__
+#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
+#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP PTHREAD_MUTEX_INITIALIZER
+#endif
 
 /*
  *
